cmake_minimum_required(VERSION 3.30)
project(51_ C)

set(CMAKE_C_STANDARD 11)

include_directories(src/App)
include_directories(src/Com)
include_directories(src/Dri)
include_directories(src/Int)

include_directories("C:/qrs_app/kill/C51/INC/STC")
include_directories("C:/qrs_app/kill/C51/INC")

add_executable(51_
        src/App/App_Bluetooth.c
        src/App/App_Bluetooth.h
        src/App/App_Obstacle.c
        src/App/App_Obstacle.h
        src/Com/Com_Util.c
        src/Com/Com_Util.h
        src/Dri/Dri_Grip.h
        src/Dri/Dri_I2C.c
        src/Dri/Dri_I2C.h
        src/Dri/Dri_Timer_2.c
        src/Dri/Dri_Timer_2.h
        src/Dri/Dri_UART.c
        src/Dri/Dri_UART.h
        src/Int/Int_Bluetooth.c
        src/Int/Int_Bluetooth.h
        src/Int/Int_Buzzer.c
        src/Int/Int_Buzzer.h
        src/Int/Int_Motor.c
        src/Int/Int_Motor.h
        src/Int/Int_OLED.c
        src/Int/Int_OLED.h
        src/Int/Int_OLED_Data.c
        src/Int/Int_OLED_Data.h
        src/Int/Int_Patrol.c
        src/Int/Int_Patrol.h
        src/Int/Int_Radio.c
        src/Int/Int_Radio.h
        src/main.c)
